package tr.mesir.domain.wrappers;

import org.jboss.envers.DefaultRevisionEntity;
import org.jboss.envers.RevisionType;

import tr.mesir.domain.Contact;

/**
 * This is the wrapper class for handling the revision data of Contact class.
 * See ContactDAOImpl for detail. 
 * 
 * @author mertcaliskan
 */
public class ContactVersionWrapper {
	
	public ContactVersionWrapper(Contact contact, DefaultRevisionEntity revisionEntity, RevisionType revisionType) {
		this.contact = contact;
		this.revisionEntity = revisionEntity;
		this.revisionType = revisionType;
	}
	
	private Contact contact;
	
	private DefaultRevisionEntity revisionEntity;
	
	private RevisionType revisionType;

	public Contact getContact() {
		return contact;
	}

	public void setContact(Contact contact) {
		this.contact = contact;
	}

	public DefaultRevisionEntity getRevisionEntity() {
		return revisionEntity;
	}

	public void setRevisionEntity(DefaultRevisionEntity revisionEntity) {
		this.revisionEntity = revisionEntity;
	}

	public RevisionType getRevisionType() {
		return revisionType;
	}

	public void setRevisionType(RevisionType revisionType) {
		this.revisionType = revisionType;
	}
}